#ifndef __playlist
#define __playlist

#include <wx/file.h>
#include <wx/textfile.h>
#include <vector>
#include "PlayListItem.h"

extern wxString listMarker;


typedef std::vector<PlayListItem*> PLItem;
typedef PLItem::iterator iPLItem;

struct PlayList {
    PLItem items;
    PlayListItem* addItem(wxString path);
    PlayListItem* addItemFast(wxString path, wxString dispInfo, int duration);
    PlayList();
    PlayList(wxString pathToExistingFileList);
    int open(wxString path);
    PlayListItem* getFirstItem();
    int save(wxString path);
    unsigned int getListSize() {return items.size();}
};

#endif
